<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="/WEB-INF/webpage/common/taglibs.jspf"%>
<!DOCTYPE html>
<html>
<head>
    <title>组织短信开关</title>
    <meta name="decorator" content="form"/>
    <html:css name="bootstrap-fileinput" />
    <html:css name="simditor" />
    <script type="text/javascript" src="${staticPath}/common/js/enter-restrict.js"></script>
</head>

<body class="white-bg"  formid="orgSmsConfigForm">
    <form:form id="orgSmsConfigForm" modelAttribute="data" action="${adminPath}/sys/orgsmsconfig/save" method="post" class="form-horizontal">
		<form:hidden path="id"/>
		<table  class="table table-bordered  table-condensed dataTables-example dataTable no-footer">
		   <tbody>
				<tr>
					<td  class="width-15 active text-right">	
		              <label><font color="red">*</font>发送平台:</label>
		            </td>
					<td class="width-35">
						<form:select path="smsSendPlatform" htmlEscape="false" class="form-control" dict="smsSendPlatform"     />
						<label class="Validform_checktip"></label>
					</td>
					<td  class="width-15 active text-right">	
		              <label><font color="red">*</font>包含下级:</label>
		            </td>
					<td class="width-35">
						<form:radiobuttons path="IncludeChild" htmlEscape="false" class="form-control" 
							datatype="*" dict="sf" defaultValue="1" delimiter="&nbsp;&nbsp;" cssClass="i-checks required"  />
						<label class="Validform_checktip"></label>
					</td>
				</tr>
				<tr>
					<td  class="width-15 active text-right">	
		              <label><font color="red">*</font>是否开启:</label>
		            </td>
					<td class="width-35">
						<form:radiobuttons path="isStart" htmlEscape="false" class="form-control"  
							datatype="*" dict="sf" defaultValue="1" delimiter="&nbsp;&nbsp;" cssClass="i-checks required"  />
						<label class="Validform_checktip"></label>
					</td>
					<td  class="width-15 active text-right">	
		              <label>短信条数:</label>
		            </td>
					<td class="width-35">
						<form:input path="num" htmlEscape="false" class="form-control" 
							onkeyup="enterLetter(this)" onafterpaste="enterLetter(this)" defaultValue="0"    />
						<label class="Validform_checktip"></label>
					</td>
				</tr>
				<tr>
					<td  class="width-15 active text-right">	
		              <label>开启日期:</label>
		            </td>
					<td class="width-35">
						<form:input path="startDate" htmlEscape="false" class="form-control" placeholder="YYYY-MM-DD"
							onclick="laydate({istime: false, format: 'YYYY-MM-DD'})" datefmt="yyyy-MM-dd"     />
						<label class="Validform_checktip"></label>
					</td>
					<td  class="width-15 active text-right">	
		              <label>结束日期:</label>
		            </td>
					<td class="width-35">
						<form:input path="endDate" htmlEscape="false" class="form-control" placeholder="YYYY-MM-DD"
							onclick="laydate({istime: false, format: 'YYYY-MM-DD'})" datefmt="yyyy-MM-dd"  />
						<label class="Validform_checktip"></label>
					</td>
				</tr>
				<tr>
					<td  class="width-15 active text-right">	
		              <label>备注信息:</label>
		            </td>
					<td class="width-35" colspan="3">
						<form:textarea path="remarks" htmlEscape="false" class="form-control" rows="4"     />
						<label class="Validform_checktip"></label>
					</td>
				</tr>
		      
		   </tbody>
		</table>   
	</form:form>
<html:js name="bootstrap-fileinput" />
<html:js name="simditor" />
</body>
</html>